package com.qf.service;

import com.qf.domain.User;

import java.sql.SQLException;
import java.util.List;

public interface UserService {
    boolean checkUserName(String username);

    void register(User user);

    void active(String email, String code);

    User login(String username, String password);

    User adminLogin(String username, String password);

    List<User> slectAll() ;

    void deleteById(String uid) ;

    List<User> selectByUAG(StringBuilder where1, List<String> I) ;
}
